
package com.starshineworks.servlets;

import com.starshineworks.util.Util;
import com.starshineworks.util.actions.Action;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet(name = "ActionDispatch", urlPatterns = {"/ActionDispatch"})
public class ActionDispatch extends HttpServlet {

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException 
    {        
        Util.serveForm(request, response, this, null);
    }

}
